const path = require("path");

module.exports = {
    entry: './src/js/app-entry.js',
    output: {
        path: path.resolve(__dirname, "theme/js/"),
        filename: 'basketballFireApp.js'
    },
    optimization: {
        minimizer: []
    },
    module: {
        rules: [
            {
                test: /\.js?$/,
                exclude: /node_modules/,
                use: {
                    loader: 'babel-loader',
                    options: {
                        presets: ['es2015']
                    }
                }
            }
        ]
    }
};
